
export default {
	state: {
		cartCount: 0,      // 购物车总数量
		cartList: [],    // 购物车列表数据
	},
	getters: {
		
	},
	mutations: {
		
		// 给state.cartCount赋值
		SET_CARTCOUNT (state, val) {
			state.cartCount = val;
		},
		
		// 给state.cartList赋值
		SET_CARTLIST (state, val) {
			state.cartList = val;
		},
		
	},
	actions: { 
		

	}
}